package org.isifaces.component.tooltips;

import javax.faces.bean.ManagedBean;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

@ManagedBean
public class RequiredStyleTestManagedBean {
	
	private String notBlank = "notBlank";
	private String notNull = "notNull";
	private String notEmpty = "notEmpty";
	private String zeroSize = "zeroSize";
	
	@NotBlank
	public String getNotBlank() {
		return notBlank;
	}
	public void setNotBlank(String notBlank) {
		this.notBlank = notBlank;
	}
	
	@NotNull
	public String getNotNull() {
		return notNull;
	}
	public void setNotNull(String notNull) {
		this.notNull = notNull;
	}
	
	@NotEmpty
	public String getNotEmpty() {
		return notEmpty;
	}
	public void setNotEmpty(String notEmpty) {
		this.notEmpty = notEmpty;
	}
	
	@Size(min=1)
	public String getZeroSize() {
		return zeroSize;
	}
	public void setZeroSize(String zeroSize) {
		this.zeroSize = zeroSize;
	}
}
